﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Reflection;

namespace vngoodlife.DTO
{
    
        public static class General_dto
    {
        public static void ClearCacheDataContext(this DataLinQDataContext context)
        {
            const BindingFlags Flags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public;
            var method = context.GetType().GetMethod("ClearCache", Flags);
            method.Invoke(context, null);
        }
    }
    
}